package com.bysc.cmsservice.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 社团会长 对应社团
 * </p>
 *
 * @author kkk
 * @since 2024-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserMember对象", description="")
public class CmsMember implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "优秀成员id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "归属社团id")
    private String clubId;

    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "班级")
    private String byClass;
    @ApiModelProperty(value = "图片的url")
    private String image;

    @ApiModelProperty(value = "微信号")
    private String wxNumber;
    @ApiModelProperty(value = "描述信息")
    private String description;
    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "第一条标签")
    private String tagFirst;

    @ApiModelProperty(value = "第二条标签")
    private String tagSecond;

    @ApiModelProperty(value = "逻辑删除（0未删除、1已删除）")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
